package com.huaxin.common.Entity;

import java.util.List;

/**
 * @author songxf
 * @date 2017/12/7
 * @Desc 考勤-统计
 * Copyright HUAXIN DATA. All rights reserved.
 */
public class HxPunchCardSummaryBean extends BaseDTO {

    /**
     * data : {"calendar":{"attendances":[{"date":"2017-12-04","normal":false}]},"report":{"early":1,"late":1,"outside":1,"workday":1}}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * calendar : {"attendances":[{"date":"2017-12-04","normal":false}]}
         * report : {"early":1,"late":1,"outside":1,"workday":1}
         */

        private CalendarBean calendar;
        private ReportBean report;

        public CalendarBean getCalendar() {
            return calendar;
        }

        public void setCalendar(CalendarBean calendar) {
            this.calendar = calendar;
        }

        public ReportBean getReport() {
            return report;
        }

        public void setReport(ReportBean report) {
            this.report = report;
        }

        public static class CalendarBean {
            private List<AttendancesBean> attendances;

            public List<AttendancesBean> getAttendances() {
                return attendances;
            }

            public void setAttendances(List<AttendancesBean> attendances) {
                this.attendances = attendances;
            }

            public static class AttendancesBean {
                /**
                 * date : 2017-12-04
                 * normal : false
                 */

                private String date;
                private boolean normal;

                public String getDate() {
                    return date;
                }

                public void setDate(String date) {
                    this.date = date;
                }

                public boolean isNormal() {
                    return normal;
                }

                public void setNormal(boolean normal) {
                    this.normal = normal;
                }
            }
        }

        public static class ReportBean {
            /**
             * early : 1
             * late : 1
             * outside : 1
             * workday : 1
             */

            private int early;
            private int late;
            private int outside;
            private int workday;

            public int getEarly() {
                return early;
            }

            public void setEarly(int early) {
                this.early = early;
            }

            public int getLate() {
                return late;
            }

            public void setLate(int late) {
                this.late = late;
            }

            public int getOutside() {
                return outside;
            }

            public void setOutside(int outside) {
                this.outside = outside;
            }

            public int getWorkday() {
                return workday;
            }

            public void setWorkday(int workday) {
                this.workday = workday;
            }
        }
    }
}
